//
//  UIView+Tool.h
//  UILbrary
//
//  Created by Apple on 2022/4/21.
//  Copyright © 2022 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN


typedef NS_OPTIONS(NSInteger, UIViewCornerType) {
    UIViewCornerTypeLeftTop = 1 << 0,//0001,1
    UIViewCornerTypeLeftBottom = 1 << 1,//0010,2
    UIViewCornerTypeRightTop = 1 << 2,//0100,4
    UIViewCornerTypeRightBottom = 1 << 3,//1000,8
};


@interface UIView (Tool)

- (void)addReverseCorner:(UIViewCornerType)type radius:(CGFloat )radius;

- (void)addReverseCornerRadius:(CGFloat )radius;

@end

NS_ASSUME_NONNULL_END
